package com.jbjr.tianchi.Parments;

/**
 * @Author：zgh
 * @DATE: 2018/7/31 17:44
 * @version: 0.0.1
 * @Description:
 */
public class AggregationBuildersParment {
    public static final String AVG = "AVG";
    public static final String COUNT = "COUNT";
    public static final String MAX = "MAX";
    public static final String MIN = "MIN";
    public static final String SUM = "SUM";

    private String terms;//分组的数据
    private String termsKey;//分组的数据
    private String metrics;//指标  avg/count/max/min/sum
    private String metricsKey;//参与指标返回字段
    private String buckets;//计算字段



    public String getTerms() {
        return terms;
    }

    public void setTerms(String terms) {
        this.terms = terms;
    }

    public String getMetrics() {
        return metrics;
    }

    public void setMetrics(String metrics) {
        this.metrics = metrics;
    }

    public String getMetricsKey() {
        return metricsKey;
    }

    public void setMetricsKey(String metricsKey) {
        this.metricsKey = metricsKey;
    }

    public String getBuckets() {
        return buckets;
    }

    public void setBuckets(String buckets) {
        this.buckets = buckets;
    }

    public String getTermsKey() {
        return termsKey;
    }

    public void setTermsKey(String termsKey) {
        this.termsKey = termsKey;
    }
}
